package com.itheima.service;

import com.itheima.entity.ShoppingCart;


import java.util.List;


public interface ShoppingCartService {
    ShoppingCart add(ShoppingCart shoppingCart);

    List<ShoppingCart> list(long userId);

    void delete(long userid);

    ShoppingCart deleteByDishidOrSetmealid(ShoppingCart shoppingCart);
}
